<?php
use app\ExceptionHandle;
use app\Request;

// 容器Provider定义文件
return [
    'think\Request'          => Request::class,
    // 系统默认异常处理handle类
    //'think\exception\Handle' => ExceptionHandle::class,
    // 绑定自定义异常处理handle类
    'think\exception\Handle'   => app\exception\Http::class,

    'test'  =>  app\common\Test::class,
    'app\repositories\contracts\DemoInterface'  =>  app\repositories\eloquent\DemoProvider::class,

    //菜单服务接口
    'app\repositories\contracts\MenuInterface'  =>  app\repositories\eloquent\MenuProvider::class,
    //管理员服务接口
    'app\repositories\contracts\RootInterface'  =>  app\repositories\eloquent\RootProvider::class,
    //管理员会员组服务接口
    'app\repositories\contracts\RootGroupInterface'  =>  app\repositories\eloquent\RootGroupProvider::class,
    //管理员验证服务接口
    'app\repositories\contracts\AdminAuthInterface'  =>  app\repositories\eloquent\AdminAuthProvider::class,
    //配置服务接口
    'app\repositories\contracts\ConfigInterface'  =>  app\repositories\eloquent\ConfigProvider::class,
    //日志服务接口
    'app\repositories\contracts\AdminLogInterface'  =>  app\repositories\eloquent\AdminLogProvider::class,
    //接口日志服务绑定
    'app\api\service\serv\ApiLogService'  =>  app\api\service\provider\ApiLogProvider::class,
    //授权客户端接口绑定
    'app\repositories\contracts\ClientInterface'  =>  app\repositories\eloquent\ClientProvider::class,
    //用户接口绑定
    'app\repositories\contracts\UserInterface'  =>  app\repositories\eloquent\UserProvider::class,
    //用户会员组接口绑定
    'app\repositories\contracts\UserGroupInterface'  =>  app\repositories\eloquent\UserGroupProvider::class,
    //文章接口绑定
    'app\repositories\contracts\ArticleInterface'  =>  app\repositories\eloquent\ArticleProvider::class,

];
